package com.input.example;

import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;

public class OutputTest {

	public static void main(String[] args) throws IOException {

		File file = new File("C:/javabatch/inputTezt3.txt");

		BufferedOutputStream bufferedOutputStream = null;

		FileOutputStream fileOutputStream = null;
		
		String content = "\t tab here";

		try {

			fileOutputStream = new FileOutputStream(file,true);

			bufferedOutputStream = new BufferedOutputStream(fileOutputStream);

			bufferedOutputStream.write(content.getBytes());

		} finally {

			if (bufferedOutputStream != null) {
				bufferedOutputStream.close();
			}

			if (fileOutputStream != null) {
				fileOutputStream.close();
			}
		}

	}

}
